package com.cwx.mychat.entity.constant;

public class FileSettingConstant {

    public static final String FILE_FOLDER_FILE = "picture/";

    //储存头像
    public static final String FILE_FOLDER_AVATAR = "avatar/";

    //图像后缀
    public static final String IMAGE_SUFFIX = "png";

    //上传图像后缀
    public static final String[] IMAGE_SUFFIX_LIST = new String[]{".jpeg",".jpg", ".png", ".gif", ".bmp", ".webp", ".jfif"};
    //上传视频后缀
    public static final String[] VIDEO_SUFFIX_LIST = new String[]{".mp4", ".avi", ".rmvb", ".mkv", ".mov"};

    //上传音频后缀
    public static final String[] AUDIO_SUFFIX_LIST = new String[]{".mp3", ".wav", ".flac", ".aac", ".ogg"};

    //文件大小
    public static final Long FILE_SIZE_MB = 1024*1024L;

    //头像文件目录
    public static final String  AVATAR_CATALOGUE = "avatar";

    //上传文件目录
    public static final String FILE_CATALOGUE = "file";

    //上传图片目录
    public static final String IMAGE_CATALOGUE = "image";

    //上传音频目录
    public static final String AUDIO_CATALOGUE = "audio";

    //上传视频目录
    public static final String VIDEO_CATALOGUE = "video";
}
